projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89164e3
)
x86: calculate nr_irqs_gsi correctly.
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 20 Aug 2009 07:26:16 +0000
(08:26 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 20 Aug 2009 07:26:16 +0000
(08:26 +0100)
Should be a typo, this issue is introduced by Cset20076,
and it may break VT-d device assignment.
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
xen/arch/x86/io_apic.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/io_apic.c
b/xen/arch/x86/io_apic.c
index 917e4dd9b035ad87b356720af6b72d60823c22f6..ea7f8b2fa4f0b3b9a4a2cc0475f99f160981bae8 100644
(file)
--- a/
xen/arch/x86/io_apic.c
+++ b/
xen/arch/x86/io_apic.c
@@
-2393,7
+2393,7
@@
void __init init_ioapic_mappings(void)
}
}
- nr_irqs_gsi = max(nr_irqs, highest_gsi());
+ nr_irqs_gsi = max(nr_irqs
_gsi
, highest_gsi());
if ( !smp_found_config || skip_ioapic_setup || nr_irqs_gsi < 16 )
nr_irqs_gsi = 16;